CPSC 103 102
Paul English & Jasmine Kwok
Source: Antony, 2021 [https://unsplash.com/photos/green-and-black-trees-under-blue-sky-HWQXIYbs8PM.]
There are thousands of possible UFO sightings in the United States and Canada each year.
Research question: Is there a central tendency on the day with the most UFO sightings?
Data: ufo_sightings_simplified
ufo_sightingsAliens/UFOs in the news this year:
The recent news (and the thought of possible new life forms existing) inspired us to do this project!
To begin the project we created a workflow diagram:
Used for loops to circumvent inaccess to typical computational functions
Decisions were made based on the one task per function rule
Main goal: Make scatterplot for UFO Sightings and their geographic midpoint for the day with the most sightings.
“16-12-21-09-55” -> str_to_date -> Date(12, 21)
2. Accessing latitude and longitudes stored in the compound data type (UFOSighting) to plot our points
UFOSighting -> list_coordinates -> [lat_vals], [long_vals]
3. Finding the date with the most sightings.
most_sightings_date -> number_of_sightings
Computation without core functions (e.g. len(), sum())
Interpreting error messages
Ensuring the inclusion of all necessary documentation
Figuring out how to scaffold our functions